package com.ruoyi.hospital.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 检查项目信息对象 inspection
 * 
 * @author qichi
 * @date 2023-07-05
 */
public class Inspection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 检查项目id */
    private Long id;

    /** 租户id */
    @Excel(name = "租户id")
    private Long tenantId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 检查项目编号 */
    @Excel(name = "检查项目编号")
    private String inspectionNo;

    /** 项目编码 */
    @Excel(name = "项目编码")
    private String inspectionCode;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String inspectionName;

    /** 项目介绍 */
    @Excel(name = "项目介绍")
    private String inspectionDes;

    /** 项目金额 */
    @Excel(name = "项目金额")
    private BigDecimal balance;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setInspectionNo(String inspectionNo) 
    {
        this.inspectionNo = inspectionNo;
    }

    public String getInspectionNo() 
    {
        return inspectionNo;
    }
    public void setInspectionCode(String inspectionCode) 
    {
        this.inspectionCode = inspectionCode;
    }

    public String getInspectionCode() 
    {
        return inspectionCode;
    }
    public void setInspectionName(String inspectionName) 
    {
        this.inspectionName = inspectionName;
    }

    public String getInspectionName() 
    {
        return inspectionName;
    }
    public void setInspectionDes(String inspectionDes) 
    {
        this.inspectionDes = inspectionDes;
    }

    public String getInspectionDes() 
    {
        return inspectionDes;
    }
    public void setBalance(BigDecimal balance) 
    {
        this.balance = balance;
    }

    public BigDecimal getBalance() 
    {
        return balance;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tenantId", getTenantId())
            .append("deptId", getDeptId())
            .append("inspectionNo", getInspectionNo())
            .append("inspectionCode", getInspectionCode())
            .append("inspectionName", getInspectionName())
            .append("inspectionDes", getInspectionDes())
            .append("balance", getBalance())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
